package com.sz.jinzheng.client;

import com.sz.jinzheng.model.Result;
import com.sz.jinzheng.model.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("jinzheng-user")
public interface UserCilent {
    @PostMapping("/user/login")
    public Result login(@RequestBody User user);
}
